package com.rui.principles.demo04.after;
/**
 * @className    : Client
 * @author       : [锐神NO.3]
 * @version      : [v1.0]
 * @createTime   : [2022/2/9 10:15]
 * @description  : [描述该类的功能]
 */
 
public class Client {
    public static void main(String[] args) {
        //创建黑马安全门对象
        HeimaSafetyDoor heimaSafetyDoor = new HeimaSafetyDoor();

        //调用功能
        heimaSafetyDoor.antiTheft();
        heimaSafetyDoor.fireProof();
        heimaSafetyDoor.waterProof();

        System.out.println("=========================");

        //创建创智安全门对象
        ItcastSafetyDoor itcastSafetyDoor = new ItcastSafetyDoor();

        //调用功能
        itcastSafetyDoor.antiTheft();
        itcastSafetyDoor.fireProof();
    }
}
